//接口二次封装
import { get, post, put, del } from '../utils/request'

//疾病列表
export const diseaseAPI = (params)=>{
    return get('/disease/list',params)
}
//添加疾病
export const diseAddAPI = (data)=>{
    return post('/disease/add',data)
}
//修改病情
export const diseEditAPI = (data)=>{
    return put('/disease/update',data)
}
//删除病情
export const diseDelAPI = (params)=>{
    return del('/disease',params)
}